From: Kim F. Storm Date: Mon, 2 Aug 2004 15:06:25 +0000 (+0000) Subject: (window_scroll_line_based): Let compute_motion X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21491 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=7db8eb5bb98e0e6cac0774a725f1e90a8812c604;p=emacs.git (window_scroll_line_based): Let compute_motion calculate actual window width. --- diff --git a/src/window.c b/src/window.c index c3603c2039f..ad22e1df107 100644 --- a/src/window.c +++ b/src/window.c @@ -4707,7 +4707,7 @@ window_scroll_line_based (window, n, whole, noerror) posit = *compute_motion (startpos, 0, 0, 0, PT, ht, 0, - window_box_text_cols (w), XINT (w->hscroll), + -1, XINT (w->hscroll), 0, w); original_vpos = posit.vpos;